//左侧菜单状态
const app ={
    state:{
        sidebar:true //菜单合起来的状态
    },
    mutations:{
        TOGGLE_SIDEBAR:(state)=>{
            state.sidebar = !state.sidebar;
        }
    }
}

//导出
export default app;